Name :String insertion

Symbol :INSERT

Illustrate:

    IN2 is inserted after the P character in IN1.

Image:

Parameter:

Parameter Statement Type Description
IN1 Input STRING
Enter the string IN1
IN2 Input STRING
Enter the string IN2
P Input USINT
Insertion location
OUT Output STRING
Output string

Example:

LD:

ST:



Interpretation:

parameter operandvalue
IN1TagIn1Enter a value:'ABC'
IN2TagIn2Enter a value:'XY'
PPositionStart position:2
OUTTagOutOutput value:'ABXYC'
    IN1 and IN2 input string type data, P input the insertion position, and OUT output the inserted string.